win32 theme: Replace metric ids with metric names
authorBenjamin Otte <otte@redhat.com>
Sun, 21 Feb 2016 23:50:01 +0000 (00:50 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 22 Feb 2016 03:37:57 +0000 (04:37 +0100)
Makes it more obvious what's actually happening.

gtk/theme/win32/gtk-win32-base.css

index d2ea50f13c46aa7b26faaf39a91dd346f4eeef1a..1795d71f4008ee1300afd58ecc865f6ee97f6c9c 100644 (file)
@@ -346,11 +346,11 @@ scrollbar {
     background-color: transparent;
     -GtkRange-trough-border: 0;
     -GtkRange-arrow-scaling: 0.0;
-    -GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);
+    -GtkRange-slider-width: -gtk-win32-size(scrollbar, cyhscroll);
 }
 
 scrollbar.vertical {
-    -GtkRange-slider-width: -gtk-win32-size(scrollbar, 2);
+    -GtkRange-slider-width: -gtk-win32-size(scrollbar, cxvscroll);
 }
 
 scrollbar button.bottom {